<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Awesome-pyecharts</title>
            <script type="text/javascript" src="https://assets.pyecharts.org/assets/echarts.min.js"></script>
        <script type="text/javascript" src="https://assets.pyecharts.org/assets/echarts-wordcloud.min.js"></script>

</head>
<body>
    <div id="4128ad61f2c34686a6f9c38ffc16ee9c" class="chart-container" style="width:900px; height:500px;"></div>
    <script>
        var chart_4128ad61f2c34686a6f9c38ffc16ee9c = echarts.init(
            document.getElementById('4128ad61f2c34686a6f9c38ffc16ee9c'), 'white', {renderer: 'canvas'});
        var option_4128ad61f2c34686a6f9c38ffc16ee9c = {
    "animation": true,
    "animationThreshold": 2000,
    "animationDuration": 1000,
    "animationEasing": "cubicOut",
    "animationDelay": 0,
    "animationDurationUpdate": 300,
    "animationEasingUpdate": "cubicOut",
    "animationDelayUpdate": 0,
    "color": [
        "#c23531",
        "#2f4554",
        "#61a0a8",
        "#d48265",
        "#749f83",
        "#ca8622",
        "#bda29a",
        "#6e7074",
        "#546570",
        "#c4ccd3",
        "#f05b72",
        "#ef5b9c",
        "#f47920",
        "#905a3d",
        "#fab27b",
        "#2a5caa",
        "#444693",
        "#726930",
        "#b2d235",
        "#6d8346",
        "#ac6767",
        "#1d953f",
        "#6950a1",
        "#918597"
    ],
    "series": [
        {
            "type": "wordCloud",
            "shape": "diamond",
            "rotationRange": [
                0,
                0
            ],
            "rotationStep": 45,
            "girdSize": 20,
            "sizeRange": [
                100,
                20
            ],
            "data": [
                {
                    "name": "Northern Mariana Islands",
                    "value": 59,
                    "textStyle": {
                        "normal": {
                            "color": "rgb(92,79,116)"
                        }
                    }
                },
                {
                    "name": "Virgin Islands",
                    "value": 1197,
                    "textStyle": {
                        "normal": {
                            "color": "rgb(7,14,84)"
                        }
                    }
                },
                {
                    "name": "Vermont",
                    "value": 1656,
                    "textStyle": {
                        "normal": {
                            "color": "rgb(150,146,83)"
                        }
                    }
                },
                {
                    "name": "Guam",
                    "value": 2727,
                    "textStyle": {
                        "normal": {
                            "color": "rgb(73,124,127)"
                        }
                    }
                },
                {
                    "name": "Wyoming",
                    "value": 4151,
                    "textStyle": {
                        "normal": {
                            "color": "rgb(61,115,119)"
                        }
                    }
                },
                {
                    "name": "Maine",
                    "value": 4734,
                    "textStyle": {
                        "normal": {
                            "color": "rgb(69,7,18)"
                        }
                    }
                },
                {
                    "name": "Alaska",
                    "value": 6735,
                    "textStyle": {
                        "normal": {
                            "color": "rgb(138,122,48)"
                        }
                    }
                },
                {
                    "name": "New Hampshire",
                    "value": 7517,
                    "textStyle": {
                        "normal": {
                            "color": "rgb(1,160,116)"
                        }
                    }
                },
                {
                    "name": "Montana",
                    "value": 8499,
                    "textStyle": {
                        "normal": {
                            "color": "rgb(36,91,51)"
                        }
                    }
                },
                {
                    "name": "Hawaii",
                    "value": 10097,
                    "textStyle": {
                        "normal": {
                            "color": "rgb(116,139,118)"
                        }
                    }
                }
            ],
            "drawOutOfBound": false,
            "textStyle": {
                "emphasis": {}
            }
        }
    ],
    "legend": [
        {
            "data": [],
            "selected": {},
            "show": true,
            "padding": 5,
            "itemGap": 10,
            "itemWidth": 25,
            "itemHeight": 14
        }
    ],
    "tooltip": {
        "show": true,
        "trigger": "item",
        "triggerOn": "mousemove|click",
        "axisPointer": {
            "type": "line"
        },
        "textStyle": {
            "fontSize": 14
        },
        "borderWidth": 0
    },
    "title": [
        {
            "text": "\u7f8e\u56fd\u5404\u5dde\u786e\u8bca\u6700\u5c11\u768410\u4e2a\u5dde",
            "padding": 5,
            "itemGap": 10
        }
    ]
};
        chart_4128ad61f2c34686a6f9c38ffc16ee9c.setOption(option_4128ad61f2c34686a6f9c38ffc16ee9c);
    </script>
</body>
</html>
